package com.csr.csrcheck.pojo;

import java.util.Objects;

public class Abnormal_products {
    private int id;

    private int product_id;

    private String packing;

    private String batch_no;

    private String approval_no;

    private String disqualification;

    private String inspection_result;

    private String standard_code;

    private String agencies_to_verify;

    private String last;

    private String provenance;

    private String company_name;

    private String product_name;

    private Product product;

    public String getCompany_name() {
        return this.company_name;
    }

    public void setCompany_name(String company_name) {
        this.company_name = company_name;
    }

    public String getProduct_name() {
        return this.product_name;
    }

    public void setProduct_name(String product_name) {
        this.product_name = product_name;
    }

    public Product getProduct() {
        return this.product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public int getId() {
        return this.id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getProduct_id() {
        return this.product_id;
    }

    public void setProduct_id(int product_id) {
        this.product_id = product_id;
    }

    public String getPacking() {
        return this.packing;
    }

    public void setPacking(String packing) {
        this.packing = packing;
    }

    public String getBatch_no() {
        return this.batch_no;
    }

    public void setBatch_no(String batch_no) {
        this.batch_no = batch_no;
    }

    public String getApproval_no() {
        return this.approval_no;
    }

    public void setApproval_no(String approval_no) {
        this.approval_no = approval_no;
    }

    public String getDisqualification() {
        return this.disqualification;
    }

    public void setDisqualification(String disqualification) {
        this.disqualification = disqualification;
    }

    public String getInspection_result() {
        return this.inspection_result;
    }

    public void setInspection_result(String inspection_result) {
        this.inspection_result = inspection_result;
    }

    public String getStandard_code() {
        return this.standard_code;
    }

    public void setStandard_code(String standard_code) {
        this.standard_code = standard_code;
    }

    public String getAgencies_to_verify() {
        return this.agencies_to_verify;
    }

    public void setAgencies_to_verify(String agencies_to_verify) {
        this.agencies_to_verify = agencies_to_verify;
    }

    public String getLast() {
        return this.last;
    }

    public void setLast(String last) {
        this.last = last;
    }

    public String getProvenance() {
        return this.provenance;
    }

    public void setProvenance(String provenance) {
        this.provenance = provenance;
    }

    public boolean equals(Object o) {
        if (this == o)
            return true;
        if (!(o instanceof com.csr.csrcheck.pojo.Abnormal_products))
            return false;
        com.csr.csrcheck.pojo.Abnormal_products that = (com.csr.csrcheck.pojo.Abnormal_products)o;
        return (this.id == that.id);
    }

    public int hashCode() {
        return Objects.hash(new Object[] { Integer.valueOf(this.id) });
    }

    public String toString() {
        return "Abnormal_products{id=" + this.id + ", product_id=" + this.product_id + ", packing='" + this.packing + '\'' + ", batch_no='" + this.batch_no + '\'' + ", approval_no='" + this.approval_no + '\'' + ", disqualification='" + this.disqualification + '\'' + ", inspection_result='" + this.inspection_result + '\'' + ", standard_code='" + this.standard_code + '\'' + ", agencies_to_verify='" + this.agencies_to_verify + '\'' + ", last='" + this.last + '\'' + ", provenance='" + this.provenance + '\'' + ", product=" + this.product + '}';
    }
}

